package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.entity.AddressBook;
import com.itheima.jsonresult.JsonResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author linying
 * @since 2022-10-13
 */
public interface AddressBookService extends IService<AddressBook> {

    JsonResult add(AddressBook addressBook);

    JsonResult put(AddressBook addressBook);

    JsonResult delete(String ids);

    JsonResult def();

    JsonResult setdef(AddressBook addressBook);

    JsonResult addressBookList();

    JsonResult getAddressBookById(String id);
}
